
/**
 * This is my first program that gets input from the user.
 * 
 * @author Amrita Mukherjee 
 * @version 01/10/2012
 */

import java.io.IOException;

public class InputExample1
{
    public static void main(String[] args) throws IOException
    {
        System.out.print("Enter your expected grade (A, B, C, D, F): ");
        char grade = (char)System.in.read();
       System.out.println("Your grade for this assignment is: " + grade);
    }
}
 /*
  * My session:
Enter your expected grade (A, B, C, D, F): a
Your grade for this assignment is: a
  */